//
//  XuKaiBillManager.h
//  emark
//
//  Created by neebel on 2017/5/29.
//  Copyright © 2017年 neebel. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XuKaiBillHandler.h"

@interface XuKaiBillManager : NSObject

+ (instancetype)sharedManager;

- (void)fetchBillInfosBeforeDate:(NSDate *)date
                      totalCount:(NSInteger)totalCount
                          result:(XuKaiResultBlock)resultBlock;

- (void)cacheBillInfo:(XuKaiBillInfo *)billInfo result:(void (^)(void))resultBlock;

- (void)deleteBillInfo:(XuKaiBillInfo *)billInfo result:(void (^)(void))resultBlock;

- (void)fetchMonthBillInMonth:(NSString *)month result:(XuKaiResultBlock)resultBlock;

@end
